import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import Product from '../views/Product.vue'
import News from '../views/News.vue'
import Team from '../views/Team.vue'
import AI from '../views/AI.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/product',
    name: 'product',
    component: Product
  },
  {
    path: '/news',
    name: 'news',
    component: News
  },
  {
    path: '/team',
    name: 'team',
    component: Team
  },
  {
    path: '/ai',
    name: 'ai',
    component: AI
  }
]

const router = new VueRouter({
  routes
})

export default router
